package org.fujene.communicate;

public class FlagsResult implements Comparable<FlagsResult>{
	private long ID;
	private boolean[] binaryFlags;
	private int[] multiFlags;
	
	public FlagsResult(long ID, boolean[] binaryFlags, int[] multiFlags){
		this.ID = ID;
		this.binaryFlags = binaryFlags;
		this.multiFlags = multiFlags;
	}
	
	public long ID(){
		return ID;
	}
	
	public boolean[] binaryFlags(){
		return binaryFlags;
	}
	
	public int[] multiFlags(){
		return multiFlags;
	}

	@Override
	public int compareTo(FlagsResult arg0){
		if(this.ID < arg0.ID) return 1;
		if(this.ID > arg0.ID) return -1;
		return 0;
	}
}
